Documentation

Get started with ThisToken.AI API and unlock the power of 50+ AI models

Quick Start

View full docs
1

Sign Up

Free signup, get an API Key

2

Top Up

Multiple payment methods

3

Start Calling

OpenAI SDK-compatible calls

quick-start.ts
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.thistoken.ai/v1',
  apiKey: 'your-api-key',
})

async function main() {
  const response = await client.chat.completions.create({
    model: 'gpt-4o',
    messages: [
      { role: 'user', content: 'Hello, how are you?' }
    ],
  })

  console.log(response.choices[0].message.content)
}

main()

Supported Languages

JavaScript
TypeScript
Python
Go
Java
PHP
Ruby
Rust

Any language compatible with the OpenAI SDK works

Need help?

Run into an issue? Our support team is ready 24/7.