Private beta · Early access
Start here
Using with coding agents
Point Cursor, Claude Code, and Codex at the OpenAI-compatible base URL.
Private beta. InferenceIndex is changing fast. Models, endpoints, pricing and these docs may change without notice, so check back before you build on a detail.
You need the key from the dashboard, one base URL, and one model name.
| Setting | Value |
|---|---|
| Base URL | https://inferenceindex-skills-25534459979.us-east4.run.app/v1 |
| Model | inferenceindex-0.1 |
| API key | The key from the dashboard at https://app.inferenceindex.com |
Leave /chat/completions off the base URL. The client adds that path.
Cursor
- Open Cursor Settings, then Models.
- Paste the dashboard key into the OpenAI API key field.
- Turn on Override OpenAI Base URL and set
https://inferenceindex-skills-25534459979.us-east4.run.app/v1. - Add the model name
inferenceindex-0.1and select it.
Cursor sends OpenAI-compatible chat completions to that base URL for local Chat and Agent requests that use this model.
Claude Code
Claude Code's own base URL, ANTHROPIC_BASE_URL, speaks the Anthropic Messages API. Leave that unset for this host. https://inferenceindex-skills-25534459979.us-east4.run.app/v1 is the OpenAI-compatible base URL.
For OpenAI-compatible clients in the project Claude Code is editing, set:
export OPENAI_BASE_URL="https://inferenceindex-skills-25534459979.us-east4.run.app/v1"
export OPENAI_API_KEY="YOUR_KEY"Use the model inferenceindex-0.1 in the client, as in the quickstart, or inferenceindex-0.1/skl_… to run one of your skills. A SKILL.md Claude Code wrote can be saved as it is. You can paste this into the session:
Call the Compiled Agent Model at base URL https://inferenceindex-skills-25534459979.us-east4.run.app/v1
with model inferenceindex-0.1. The API is OpenAI-compatible chat completions.
Read the key from the environment. Do not print the key.Codex
Codex reads the user file ~/.codex/config.toml. A project-local config file cannot change the provider. Put the base URL in the user file:
model = "inferenceindex-0.1"
model_provider = "inferenceindex"
[model_providers.inferenceindex]
name = "InferenceIndex"
base_url = "https://inferenceindex-skills-25534459979.us-east4.run.app/v1"
env_key = "OPENAI_API_KEY"
wire_api = "responses"Put the dashboard key in OPENAI_API_KEY. Current Codex sends OpenAI Responses requests to that base URL plus /responses, and the API doesn't serve /responses yet. The early-access call is chat completions: POST /v1/chat/completions with model inferenceindex-0.1. Use the quickstart from code for that call.