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.

Download configuration file ↓

Installation steps

  1. Download the file

    Use the download button and save Setup-SpiderAPI.bat on your Windows computer.

  2. Run the installer

    Open the file and choose English, Russian, or Turkish.

  3. Choose your app

    Select Codex App or the Codex extension for VS Code, then choose Install.

  4. Confirm your key

    Paste your SpiderAPI user key from your dashboard, check it, and confirm.

  5. 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.

API addresshttps://spiderapi.online/api/v1

Use this address in OpenAI-compatible clients:

01Create an API token

Sign in to your dashboard and copy the SpiderApi API token assigned to you. The full token is shown only once.

02Open your client settings

In a Codex-compatible client on Windows, open %USERPROFILE%\.codex and create or update config.toml.

03Add the configuration

Use https://spiderapi.online/api/v1 and your API token as OPENAI_API_KEY. Do not add third-party service URLs or keys.

04Choose a model

Use the model assigned to your token. Save the file, restart the client, and send your first request.

config.toml
SpiderApi
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
PowerShell
OPENAI_API_KEY
$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.