Skip to content

feat: add Straitly provider with 11 model mappings - #15

Open
HashimSyedUBC wants to merge 1 commit into
openmodelsrun:mainfrom
HashimSyedUBC:add-straitly-provider
Open

HashimSyedUBC wants to merge 1 commit into
openmodelsrun:mainfrom
HashimSyedUBC:add-straitly-provider

Conversation

@HashimSyedUBC

Copy link
Copy Markdown

Adds Straitly (OpenAI-compatible API gateway) as a provider, with mappings for 11 models already in the registry.

Public sources

Mappings (values read from the live feed, 2026-12-01)

model_id API model id in / out per 1M (USD) cache read per 1M provider list in / out context
claude-fable-5-2 claude-fable-5.2 4.8 / 24 0.12 8 / 40 1,000,000
claude-opus-5-5 claude-opus-5-5 2.4 / 12 0.12 4 / 20 1,000,000
claude-sonnet-5-5 claude-sonnet-5-5 1.2 / 6 0.12 2 / 10 1,000,000
claude-haiku-5-5 claude-haiku-5-5 0.06 / 0.3 0.006 0.1 / 0.5 1,000,000
gpt-6-1-sol gpt-6.1-sol 1.2 / 6 0.06 2 / 10 1,050,000
gpt-6-sol gpt-6-sol 1.2 / 6 0.12 2 / 10 1,050,000
gpt-6-luna gpt-6-luna 0.06 / 0.3 0.006 0.1 / 0.5 1,050,000
gpt-6-astra gpt-6-astra 6 / 30 0.6 10 / 50 1,050,000
gemini-4-argon gemini-4-argon 1.2 / 6 0.06 2 / 10 1,048,576
grok-4-7 grok-4.7 1.2 / 3.6 0.3 2 / 6 524,288
muse-wonder muse-wonder 2.4 / 12 0.12 4 / 20 1,048,576
  • Context limits match the canonical entries, so context_window_override is null, except grok-4-7, where our API reports 524,288 against the registry's 500,000.
  • No published per-key rate limits, so both are null.
  • Region is global: that is the API's reach, not a processing-residency promise.

How requests are served

Straitly is a gateway, like the OpenRouter entry. Each model is served by upstream providers, and if one goes down the request moves to another. Failed requests are not billed. I kept the provider description to that, with the privacy link, so the listing does not promise anything about where a request runs.

Checks

  • python validate_registry.py: 632 files, passed.
  • Live on 2026-12-01: GET /v1/key 200 with a valid key and 401 with a bad one; chat completions returned on claude-sonnet-5-5, gpt-6.1-sol and gemini-4-argon, each echoing its own model id.

Happy to change the model set, drop the cache prices, or split this up if you prefer smaller PRs.

@madeburo madeburo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding Straitly and including public sources. We verified the model IDs, context limits, and input, output, and cache-read prices for all 11 mappings against both feeds. The registry validator passed locally.

  1. Please add cache_write_per_million where the published write rate applies. Both public feeds list a write rate for all 11 mappings, and the registry already supports this field. For Fable 5.2, for example, the published write rate is $6 per million tokens and the fresh input rate is $4.80. If any write rate depends on a particular API format or cache duration, please clarify that in the mapping's source comment. Models API · Public catalog

  2. Could you clarify what zdr: false for claude-fable-5.2 and gpt-6-astra means for requests through Straitly? The ZDR docs say it applies by default across endpoints, while the privacy policy lists 30-day retention of conversation state for the Responses API. Please clarify which endpoints and upstream routes are covered, and keep the privacy policy link in the provider description. ZDR docs · Privacy policy

  3. Please keep providers/straitly.yaml factual and drop the 40% discount claim. If you include billing terms, please distinguish the $5 minimum top-up from the absence of a subscription or minimum usage commitment. Billing terms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants