Anti-inflammatory drugs that are safe for dogs are carprofen and ibuprofen. This anti-inflammatory medication was designed specifically for dogs. For long-term pain control in dogs, carprofen is often preferred over meloxicam.