1. Create an API key
- Sign in at platform.fortytwo.network.
- Open Credits, press Buy credits and complete the purchase.
- Open API keys, press Create API key, enter a Name and press Create API key. Copy the key. It is shown only once.
2. Set the key
3. Send a request
The API is compatible with the OpenAI SDKs. Set the base URL to:https://api.fortytwo.network/v1
qwen/qwen3.8-27b; any model ID from Models works the same way. The response is a standard chat completion. The answer is in choices[0].message.content, and the token counts are in usage. A model that reasons does so by default; the reasoning is in choices[0].message.reasoning and is billed as output — see Pricing.
If the request fails
Other codes are on Errors. What to do about each is in Common problems.
Next steps
Models
Model IDs, limits and supported features.
Chat completions
Request fields, tool calling and structured output.
Streaming
Receive the response as it is generated.
OpenAI compatibility
What differs from the OpenAI API.
Use with your agent
Connect Hermes Agent, Kilo Code, Cline, Pi and other agents.