Skip to contentSkip to page list

Docs

Doubleword

Add a Doubleword API key under Settings, Model Providers and call Doubleword's hosted open-weight models through the LangWatch AI Gateway.

On this page

Add the credential

Open Settings > Model Providers, click Add Model Provider and select Doubleword. Give the row a name, pick the organization, team or project it belongs to, and fill in:

FieldValue
DOUBLEWORD_API_KEYA Doubleword API key from app.doubleword.ai/api-keys.

Create the key for inference (the "realtime" purpose). Doubleword refuses model calls made with a key whose purpose is "platform", with HTTP 403.

Save the row. Every virtual key whose scope can see the row can now dispatch to it, unless the key restricts its providers. See Virtual keys.

The gateway calls https://api.doubleword.ai as an OpenAI-compatible endpoint.

Model names

Write doubleword/<model>. Doubleword model ids keep the vendor slash and casing Doubleword uses, for example doubleword/deepseek-ai/DeepSeek-V4.1-Flash or doubleword/Qwen/Qwen3-Embedding-8B. Only the first segment names the provider, and the rest is sent to Doubleword as is.

Always keep the doubleword/ prefix. Without it the gateway infers the provider from the model name, which may not pick Doubleword.

Send a request

example.shBash
curl https://gateway.langwatch.ai/v1/chat/completions \  -H "Authorization: Bearer $LANGWATCH_VIRTUAL_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "doubleword/deepseek-ai/DeepSeek-V4.1-Flash",    "messages": [{"role": "user", "content": "Say hi in one word"}]  }'

Endpoints

EndpointServed
POST /v1/chat/completionsYes
POST /v1/messagesYes, translated
POST /v1/embeddingsYes, with a Doubleword embeddings model such as doubleword/Qwen/Qwen3-Embedding-8B
POST /v1/images/generations, POST /v1/images/editsNo, rejected with HTTP 400. Image traffic needs a direct OpenAI, Azure OpenAI, Gemini, Vertex AI or Bedrock credential. See Images
GET /v1/modelsYes, from the Doubleword catalog

Cost

LangWatch prices Doubleword calls at Doubleword's realtime rates. Batch and async rates are not used, because the gateway sends realtime requests.

Documentation