Setup
Connect a ChatGPT-compatible client to Tokena with your API key.
SpiderAPI setup for Windows
Download Setup-SpiderAPI.bat to configure Codex App or the Codex extension in VS Code with your SpiderAPI key.
Installation steps
- Download the file
Use the download button and save Setup-SpiderAPI.bat on your Windows computer.
- Run the installer
Open the file and choose English, Russian, or Turkish.
- Choose your app
Select Codex App or the Codex extension for VS Code, then choose Install.
- Confirm your key
Paste your SpiderAPI user key from your dashboard, check it, and confirm.
- Restart the app
When setup finishes, restart Codex or VS Code. To remove the configuration, run the same file and choose Uninstall.
Enter your key only in the installer window. Do not share it with other users.
https://spiderapi.online/api/v1Use this address in OpenAI-compatible clients:
Sign in to your dashboard and copy the SpiderApi API token assigned to you. The full token is shown only once.
In a Codex-compatible client on Windows, open %USERPROFILE%\.codex and create or update config.toml.
Use https://spiderapi.online/api/v1 and your API token as OPENAI_API_KEY. Do not add third-party service URLs or keys.
Use the model assigned to your token. Save the file, restart the client, and send your first request.
model = "gpt-6-astra"
model_provider = "spiderapi"
[model_providers.spiderapi]
name = "SpiderApi"
base_url = "https://spiderapi.online/api/v1"
wire_api = "responses"
env_key = "OPENAI_API_KEY"
requires_openai_auth = false$env:OPENAI_API_KEY = "sk-your-tokena-token"
[Environment]::SetEnvironmentVariable("OPENAI_API_KEY", "sk-your-tokena-token", "User")Save the file, restart your client, and start using SpiderApi.