Getting started
Quickstart
Base URLs#
| API | Base URL | Endpoints |
|---|---|---|
| OpenAI-compatible | https://fullsendai.com/v1 | POST /chat/completions, GET /models, POST /embeddings, POST /rerank, GET /key |
| Anthropic-compatible | https://fullsendai.com | POST /v1/messages, POST /v1/messages/count_tokens, GET /v1/models |
/v1/messages themselves, so their base URL is the bare domain. OpenAI-style tools want the URL ending in /v1.The whole API is described in an OpenAPI spec (/openapi.json, OpenAPI 3.1) for code generators and API clients. AI assistants and coding agents can read /llms.txt, a plain-text map of the API and these docs (/llms-full.txt has every endpoint and the live models).
1. Get a key#
- Create an account and confirm your email, then add a card or credit to start your agent.
- Open API keys and create one. It starts with
fs_live_and is shown once, so copy it somewhere safe. - Put it in an environment variable, so it stays out of your code:
export FULLSEND_API_KEY=fs_live_...2. Make a request#
Install the OpenAI SDK (pip install openai or npm install openai), or use curl:
curl https://fullsendai.com/v1/chat/completions \ -H "Authorization: Bearer $FULLSEND_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Write a debounce function in TypeScript"}] }'{ "id": "chatcmpl-ed1a50752eb09f27899afda3", "object": "chat.completion", "created": 1792116871, "model": "deepseek-v4.1-flash", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "function debounce<T extends (...args: any[]) => void>(…" }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 16, "completion_tokens": 214, "total_tokens": 230, "prompt_tokens_details": { "cached_tokens": 0 } }}Every call appears within a second under Logs with its status, tokens, time and cost. Model IDs are on Models, or GET /v1/models.
Or use the Anthropic API#
The same key and models, through Anthropic's Messages API (pip install anthropic or npm install @anthropic-ai/sdk). max_tokens is required here.
curl https://fullsendai.com/v1/messages \ -H "x-api-key: $FULLSEND_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -d '{ "model": "deepseek-v4.1-flash", "max_tokens": 1024, "messages": [{"role": "user", "content": "Write a debounce function in TypeScript"}] }'3. Plug in your agent#
Claude Code, Cursor, Cline, Roo Code, Continue, Aider, Codex and anything else that lets you set a base URL and key works. Exact settings for each are on Connect your agent.
export ANTHROPIC_BASE_URL=https://fullsendai.comexport ANTHROPIC_AUTH_TOKEN=$FULLSEND_API_KEYexport ANTHROPIC_MODEL=deepseek-v4.1-flashclaudeNext steps#
- Models →Every live model with its price, context window and grade.
- Streaming →Show the answer as it's written, in either API's event format.
- Tool calling →Let the model call your functions: the loop agents run on.
- Errors →Every error code, what it means and which ones to retry.
- Embeddings and rerank →Vectors for search and retrieval, and relevance scores for results.
- Reliability and routing →Failover across US hosts, and fullsend/auto to pick the model.
- Coding agents →Claude Code, Cursor, Cline, Codex, Aider and more.
- Switching over →From OpenAI, Anthropic or OpenRouter in one minute.
Stuck? Email [email protected]System statusChangelog