Skip to main content
Follow this quick guide to start using CheckThat AI’s unified LLM platform with built-in fact-checking capabilities.
What you’ll need:
  • Python 3.8 or higher
  • An API key from at least one provider (OpenAI, Anthropic, Google, xAI, or Together AI)

Step 1: Install the Python SDK

1

Install via pip

Install the CheckThat AI Python SDK:
The SDK is compatible with Python 3.8+ and includes full type hints for better development experience.
2

Verify installation

Verify the installation by checking the version:

Step 2: Get your API keys

Choose which AI providers you want to use and get their API keys:

OpenAI

Models: GPT-5, GPT-5 nano, o3, o4-mini, GPT-4oSign up at platform.openai.com

Anthropic

Models: Claude Sonnet 4, Sonnet Opus 4.1, Claude 3.5 SonnetGet API key from console.anthropic.com

Google AI

Models: Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 1.5 ProGenerate key at ai.google.dev

xAI

Models: Grok 4, Grok 3, Grok 3 MiniObtain key from x.ai platform
You only need API keys for the providers whose models you plan to use. Each provider manages their own billing and rate limits.

Step 3: Set up your environment

Store your API keys securely as environment variables:

Step 4: Make your first request

Create a simple Python script to test CheckThat AI:

Step 5: Explore advanced features

Streaming Responses

Get real-time streaming responses for better user experience:

Model Discovery

Discover available models across all providers:

Error Handling

Robust error handling for production use:

Structured Outputs

Generate type-safe structured responses:

Next Steps

1

Read the API Reference

Explore the complete API documentation to learn about all available endpoints and features.
2

Check out the Python SDK guide

Dive deeper into the Python SDK documentation for advanced usage patterns and best practices.
3

Join the community

Get help and share your experience:

Troubleshooting

Problem: pip install checkthat-ai failsSolutions:
  • Ensure you have Python 3.8 or higher: python --version
  • Try upgrading pip: pip install --upgrade pip
  • Use a virtual environment: python -m venv venv && source venv/bin/activate
Problem: Getting authentication errors with API keysSolutions:
  • Verify your API key format matches the provider
  • Check that environment variables are properly set: echo $OPENAI_API_KEY
  • Ensure you have sufficient credits/quota with the provider
Problem: ImportError: No module named 'checkthat_ai'Solutions:
  • Verify installation: pip list | grep checkthat-ai
  • Check you’re using the correct Python environment
  • Reinstall the package: pip uninstall checkthat-ai && pip install checkthat-ai
Need more help? Check our GitHub repository for issues and discussions, or contact us at kadapalanikhil@gmail.com.