Skip to Content
API

API

2 posts

Posts tagged with API

OpenAI Introduces GPT-4 Turbo with Vision API

OpenAI releases updated GPT-4 Turbo model with enhanced vision capabilities and 50% lower API pricing for multimodal applications

OpenAI Introduces GPT-4 Turbo with Vision API

OpenAI has launched GPT-4 Turbo with Vision, offering enhanced image analysis capabilities at significantly reduced pricing for developers building multimodal AI applications.

Key Improvements

Enhanced Vision Processing

  • Analyze complex charts and diagrams with 95% accuracy
  • Extract text from images in 50+ languages
  • Understand spatial relationships and layouts
  • Process multiple images in single requests

Pricing Reduction

  • Input tokens: $0.01 per 1K tokens (down from $0.03)
  • Output tokens: $0.03 per 1K tokens (down from $0.06)
  • Image processing: $0.00765 per image (down from $0.01255)

New Capabilities

Batch Image Processing

const response = await openai.chat.completions.create({
  model:
OpenAI Introduces GPT-4 Turbo with Vision API Read more

Building Faster APIs with Bun and Elysia

Step-by-step guide to creating high-performance REST APIs using Bun runtime and Elysia framework. Includes benchmarks comparing performance to Node.js and Express

Building Faster APIs with Bun and Elysia

Bun has been making waves as a faster JavaScript runtime, and Elysia provides an elegant framework for building APIs on top of it. Let's build a production-ready API and see how it compares to traditional Node.js setups.

Why Bun + Elysia?

Traditional Node.js APIs often struggle with performance bottlenecks. Bun's architecture promises significant improvements:

  • 3x faster startup times
  • Built-in TypeScript support
  • Native bundler and test runner
  • Web-standard APIs by default

Setting Up the Project

First, install Bun and create a new project:

# Install Bun
curl -fsSL https://bun.sh/install | bash

# Create new project
mkdir bun-api && cd
Building Faster APIs with Bun and Elysia Read more