Integrations for your coding tools
Keep Claude Code, Cursor, Codex, Cline or your SDK, and change two settings: the base URL and the API key. Straitly then serves 117 models through one key, billed 40% under the provider's list price on most models. Claude Opus 5.5 costs $2.40 in and $12.00 out per 1M tokens, 40% under its list price of $4.00 and $20.00.[1][2][3]
Updated
- OpenAI-compatible tools
- https://
api.straitly.ai/ v1 - Claude Code and Anthropic SDK
- https://
api.straitly.ai - API key
- your Straitly key
Which tool do you use?
Coding tools
Each guide has copyable steps checked against the tool's own docs, a price table and an FAQ.
- Claude CodeChange ~/.claude/settings.json. Anthropic Messages.4 steps
- CursorChange Cursor Settings > Models > API Keys. OpenAI-compatible.5 steps
- CodexChange ~/.codex/config.toml. OpenAI Responses.4 steps
- OpenCodeChange ~/.config/opencode/opencode.json. OpenAI-compatible.4 steps
- ClineChange Cline settings > API Provider. OpenAI-compatible.5 steps
- Claude appChange Developer > Configure Third-Party Inference. Anthropic Messages.5 steps
- HermesChange ~/.hermes/config.yaml. OpenAI-compatible.4 steps
- OpenClawChange ~/.openclaw/openclaw.json. OpenAI-compatible.4 steps
Or call it from code
Not listed? Any tool that lets you set an OpenAI-compatible or Anthropic Messages base URL and API key can use the same two settings.
Integration questions.
Ask a question- Claude Code, Cursor, Codex, OpenCode, Cline, Claude app, Hermes, OpenClaw, plus the OpenAI SDK, Anthropic SDK, LangChain, LlamaIndex, Vercel AI SDK. Any tool that lets you set an OpenAI-compatible or Anthropic Messages base URL and API key can use it.
- Two things: the base URL and the API key. OpenAI-compatible tools use https://api.straitly.ai/v1. Claude Code, the Claude app and the Anthropic SDK use https://api.straitly.ai, because they add /v1/messages themselves.
- Most models are billed 40% under the provider's list price, per token. On 16 November 2026, 98 of 103 models with a published list price were at least 40% under it.
- Almost always. On 16 November 2026 Straitly cost less on 134 of 145 models also sold on OpenRouter; for the major labs that is Anthropic 18 of 18, OpenAI 24 of 25, Google 15 of 16, xAI 6 of 6. The lowest OpenRouter seller cost less on 11. All 11 are open-weight models (Qwen, DeepSeek, GLM, gpt-oss, Kimi and Gemma variants). Each guide shows both numbers for its models.
- Not for the model calls. Your Straitly key pays for tokens from prepaid credits. Some tools still have their own plans: Cursor Teams and Enterprise, for example, add a Cursor Token Rate on requests made with your own key.
- Yes. One key works in every tool and SDK listed here, and all of them draw from the same balance. You can also create a separate key per tool to see usage per tool.
Sources
Each tool's setup steps were checked against its own docs on 16 November 2026. Prices come from Straitly's public catalog. Going to production? Read the production checklist, structured outputs guide, prompt caching docs and error reference.
- [1]Straitly pricing
- [2]Straitly public catalog
- [3]Straitly home page
- [4]Claude Code: connect to an LLM gateway
- [5]Claude Code: LLM gateways
All 19 sources
- [6]Claude Code settings
- [7]Cursor: API keys
- [8]Codex: advanced configuration
- [9]OpenCode: providers
- [10]Cline: OpenAI Compatible provider
- [11]Claude Desktop with an LLM gateway
- [12]Hermes Agent: providers
- [13]OpenClaw: custom providers
- [14]OpenClaw: configuration
- [15]OpenAI SDK reference
- [16]Anthropic SDK reference
- [17]LangChain reference
- [18]LlamaIndex reference
- [19]Vercel AI SDK reference
What each source says
- [1] Straitly pricing
- Billed per token at the pooled rate, 40% under the provider's published rate on most models, with nothing added on top. Failed requests cost nothing. No subscription, no minimum.
- [2] Straitly public catalog
- Every model ID with Straitly's price, the lab's official list price where one is published, and the lowest OpenRouter seller including its 5.5% credit fee.
- [3] Straitly home page
- One OpenAI-compatible API for 117 models. Sign up with email or Google, top-ups from $5 with no card or platform fee, base URL https://api.straitly.ai/v1, and requests move to another provider serving the same model if one goes down.
- [4] Claude Code: connect to an LLM gateway
- Set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN in the shell or in the env block of ~/.claude/settings.json.
- [5] Claude Code: LLM gateways
- A gateway credential replaces the Claude subscription login for that session.
- [6] Claude Code settings
- settings.json keys, including env, model and modelPicker (modelPicker needs Claude Code 2.1.242 or later).
- [7] Cursor: API keys
- Custom API keys work with chat models only; Tab completion keeps using Cursor's models. Teams and Enterprise pay a Cursor Token Rate of $0.25 per 1M tokens on eligible requests; models with a cache-read price under $0.10 per 1M are exempt.
- [8] Codex: advanced configuration
- Define [model_providers.<id>] with name, base_url, env_key and wire_api, then set model_provider at the top level.
- [9] OpenCode: providers
- Add an OpenAI-compatible provider under providers with env, package, settings.baseURL and models; pick it with /models.
- [10] Cline: OpenAI Compatible provider
- Choose API Provider: OpenAI Compatible, then set Base URL, API Key and Model ID.
- [11] Claude Desktop with an LLM gateway
- Gateway inference with a static API key. The gateway must implement POST /v1/messages with streaming and tool use.
- [12] Hermes Agent: providers
- Run hermes model and choose Custom endpoint, or set model.provider: custom with base_url and api_key or key_env in config.yaml.
- [13] OpenClaw: custom providers
- models.providers.<id> with baseUrl, apiKey, api: openai-completions and models, plus agents.defaults.model.primary.
- [14] OpenClaw: configuration
- OpenClaw reads JSON5 config from ~/.openclaw/openclaw.json and applies edits to that file.
- [15] OpenAI SDK reference
- The library's own reference for the client used in this example.
- [16] Anthropic SDK reference
- The library's own reference for the client used in this example.
- [17] LangChain reference
- The library's own reference for the client used in this example.
- [18] LlamaIndex reference
- The library's own reference for the client used in this example.
- [19] Vercel AI SDK reference
- The library's own reference for the client used in this example.
Start with one request.
Prepaid, no subscription, no minimum. One key for every tool on this page, 40% under list on most models.