benchgecko 1.0.0 copy "benchgecko: ^1.0.0" to clipboard
benchgecko: ^1.0.0 copied to clipboard

Official Dart SDK for BenchGecko, the data layer of the AI economy. Query thousands of AI models with cross-provider pricing, benchmark scores, and live changelog updates.

BenchGecko for Dart #

Official Dart/Flutter SDK for BenchGecko, the data layer of the AI economy.

Thousands of models with cross-provider pricing and daily price history. Hundreds of companies with valuations, funding timelines, and revenue estimates. Benchmark scores, developer adoption signals, agent leaderboards, and a changelog that captures every price drop, every launch, every deprecation as it happens.

If it moved in AI today, it is already on BenchGecko.

Installation #

Add to your pubspec.yaml:

dependencies:
  benchgecko: ^1.0.0

Then run dart pub get.

Quick Start #

import 'package:benchgecko/benchgecko.dart';

Future<void> main() async {
  final client = BenchGeckoClient();

  // List top models by score
  final models = await client.getModels(sort: 'score', limit: 10);
  for (final model in models) {
    print('${model['name']} (${model['provider']})');
  }

  client.dispose();
}

API Key #

BenchGecko is free to query without an API key for light usage. For higher rate limits, pass an API key:

final client = BenchGeckoClient(apiKey: 'your_api_key');

Model Lookup #

final model = await client.getModel('claude-3-5-sonnet');
print(model['name']);
print(model['pricing']);
print(model['benchmarks']);

Cross-Provider Comparison #

Compare two to six models side by side with benchmark scores and pricing delta:

final result = await client.compare([
  'gpt-4o',
  'claude-3-5-sonnet',
  'gemini-2-0-flash',
]);
print(result);

Benchmark Catalog #

// All benchmarks
final all = await client.getBenchmarks();

// Filter by category
final reasoning = await client.getBenchmarks(category: 'reasoning');

Filtering Models #

// Open-source models only
final openModels = await client.getModels(openSource: true);

// Models from a specific provider
final anthropicModels = await client.getModels(provider: 'anthropic');

// Sort options: score, price, context, recent
final cheapest = await client.getModels(sort: 'price', limit: 20);

Resources #

License #

MIT License.

0
likes
150
points
31
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Official Dart SDK for BenchGecko, the data layer of the AI economy. Query thousands of AI models with cross-provider pricing, benchmark scores, and live changelog updates.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #benchmark #llm #api #machine-learning

License

MIT (license)

Dependencies

http

More

Packages that depend on benchgecko